package com.woniu.mapper;

import com.woniu.entity.Customer;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniu.vo.CustomerVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author Apricity
* @description 针对表【customer(客户表)】的数据库操作Mapper
* @createDate 2025-02-13 20:16:58
* @Entity com.woniu.entity.Customer
*/
@Mapper
public interface CustomerMapper extends BaseMapper<Customer> {
    List<CustomerVO> queryCustomerList(Page<CustomerVO> page);
    
    List<CustomerVO> queryCustomerByKeyword(String keyword, Page<CustomerVO> page);
    
    int updateCustomer(Customer customer);
}




